#ifndef DRAWABLE_H
#define DRAWABLE_H

#include <xnamath.h>
#include <D3DX11.h>

namespace Drawables{
	class Drawable
	{
	public :

		void SetMaterialInfo(float sigma, float rho){
			A = 1.0f - 0.5f * (sigma * sigma)/(sigma*sigma + 0.33f);
			B = 0.45f * (sigma * sigma)/(sigma * sigma + 0.09f);
			rhoOverPi = rho/(float)XM_PI;
		}

	protected:
		float A, B, rhoOverPi;
		ID3D11Buffer* vertexBuffer;
		XMMATRIX world;		
	};
}

#endif